package com.imooc.mapper;


import com.imooc.vo.NewItemVo;
import com.imooc.vo.RootCategoryVo;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * @Author wangke
 * @Description 自定义根据一级分类查询子分类集合
 * @Date 2021/7/12 12:37
 * @Version 1.0
 * */

public interface CategoryCustomMapper {

    public List<RootCategoryVo> querySubCategory(@Param("rootId") Integer rootId);

    public List<NewItemVo> getItemLazy(@Param("cat") Map catMap);
}